package com.itheima.service.impl;

import com.itheima.mapper.BookMapper;
import com.itheima.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
/**
 * 图书服务实现类
 * 实现了BookService接口，提供图书相关的业务逻辑实现
 */
public class BookServiceImpl implements BookService {
    @Autowired
    private BookMapper bookMapper;
    @Override
    public void getBook() {
        System.out.println(bookMapper.selectById(1));
    }
}
